package com.jzo2o.orders.manager.service;

import com.jzo2o.api.trade.dto.response.PayResDTO;
import com.jzo2o.api.trade.enums.PayChannelEnum;
import com.jzo2o.orders.manager.model.dto.request.PlaceOrderReqDTO;
import com.jzo2o.orders.manager.model.dto.response.PlaceOrderResDTO;

/**
 * \* User: chy
 * \* Date: 2025/9/30   11:30
 * \* Description:
 * \
 */
public interface IPlaceOrderService {
    /**
     * 微信小程序用户下单
     *
     * @param reqDTO
     * @return
     */
    PlaceOrderResDTO placeOrders(PlaceOrderReqDTO reqDTO);
    /**
     * 微信小程序用户支付
     *
     * @param OrderId
     * @param tradingChannel
     * @return
     */
    PayResDTO pay(Long OrderId, PayChannelEnum tradingChannel);
}
